package com.haobo.dao;

import com.haobo.pojo.Role;

import java.util.List;

/**
 * ClassName:RoleDao
 * Package:com.haobo.dao
 * Description:
 *
 * @Date:2021/5/28 18:20
 * @Author:haobo
 */
public interface RoleDao {
    List<Role> findAll();

    void addRole(Role role);

    void delRole(Long id);

    List<Role> findRoleByUserId(Long id);

    void delUserRoleRel(Long id);
}
